validation to check is empty or has only spaces using Javascript

visit shbcf.ru